package com.license.common.util;

import java.util.Date;

public class Constants {
	
	// constants needed in ontology parsing
	public static final String ONTOLOGYLOCATION = "d:\\pt utcn\\workspace_licenta\\resources\\licentaRDFontology1.0.owl";
	public static final String NS = "http://www.semanticweb.org/ontologies/2013/0/Ontology1357131527936.owl#";
	public static final String ONTOLOGY_ROOT = "Thing";
	public static final String GENERIC_ONT_CLASS = "Nothing";
	// -------------------------------------------------------------------------------------------------------------------
	
	// constants needed for naive bayes classifier
	public static final String XML_EXTENSION = ".xml";
	public static final String EXCELL_EXTENSION = ".xls";
	
	// constants needed for xml generation
	public static final int NUMBER_GENERATED = 10;
	public static final int ALIMENT_CONS=300;
	public static final int ALIMENT_SALT_SUGAR = 15;
	public static final int IS_DIABETES = 1;
	public static final int IS_NOT_DIABETES = 0;
	public static final int FAMILY_HISTORY_STROKE = 1;
	public static final int FIMILY_HISTORY_NOT_STROKE = 0;
	public static final int SEX_MALE = 1;
	public static final int SEX_FEMALE = 0;
	public static final String EXTERN_FILE_PATH_UNCLASSIFIED = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\unclassified\\";
	public static final String EXTERN_FILE_PATH_CLASSIFIED = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\classified\\";
	public static final String EXTERN_FILE_PATH_TRAINING_SET = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\training_set\\";
	public static final String EXTERN_FILE_PATH_UNHEALTY_BEHAVIOR = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\unhealtyBehavior\\";
	public static final String PSO_GENERATED_MENUS_PATH = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\generatedMenus\\pso\\";
	public static final String CLONAL_GENERATED_MENUS_PATH = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\generatedMenus\\clonal\\";
	public static final String EXTERN_EXCELL_PATH = "D:\\pt utcn\\workspace_licenta\\behaviorLog\\excel\\";
	public static final String FOOD_RULES_PATH = "D:\\pt utcn\\workspace_licenta\\procardio\\procardio.common\\foodRules\\";
	public static final int WEIGHT_MINIM_VALUE = 45;
	public static final int WIEGHT_MAXIM_VALUE = 125;
	public static final double HEIGHT_MINIM_VALUE = 1.5;
	public static final double HEIGHT_MAXIM_VALUE = 2.2;
	public static final int AGE_MINIM_VALUE = 20;
	public static final int AGE_MAXIM_VALUE = 65;
	public static final int SBP_MINIM_VALUE = 80;
	public static final int SBP_MAXIM_VALUE = 200;
	public static final int MAXIM_NUMBER_PORTION_PER_FOOD = 3;
	public static final int MAXIM_NUMBER_FOOD_PER_MEAL = 8;
	public static final int MINIM_NUMBER_FOOD_PER_MEAL = 2;
	public static final double MINIM_CALORIE_PER_DAY_FOR_MALE = 1700;
	public static final double MAXIM_CALORIE_PER_DAY_FOR_MALE = 4500;
	public static final double MINIM_CALORIE_PER_DAY_FOR_FEMALE = 1200;
	public static final double MAXIM_CALORIE_PER_DAY_FOR_FEMALE = 3500;
	public static final int MAXIM_MEALS_PER_DAY = 5;
	public static final int MINIM_MEALS_PER_DAY = 2;
	
	// date time constants
	public static final int CURRENT_YEAR = new Date().getYear() + 1900;
	
	// constants needed for particle swarm optimization
	
	public static final int FOODS_NUMBER_PER_BREAKFAST = 3;
	public static final int FOODS_NUMBER_PER_SNACK = 3;
	public static final int FOODS_NUMBER_PER_LUNCH = 3;
	public static final int FOODS_NUMBER_PER_DINNER = 3;
	public static final int ACTIVITY_NUMBER_PER_DAY = 2;
	
	public static final int MAX_ITERATIONS = 20;
	
	public static final double ACCELERATION_COGNITIVE_COMPONENT = 100;
	public static final double ACCELERATION_SOCIAL_COMPONENT = 100;
	public static final int MUTATION = -1;
	
    public static final double MAX_DOUBLE = 620000;
    public static final String GENERIC_FOOD_NAME = "X_food";
    public static final String GENERIC_ACTIVITY_NAME = "X_activity";
    
    public static final int EUCLIDIAN_METRICS = 2;
    public static final int PARTEO_OPTIMAL_AGGREGATION_METHOD = 1;
    public static final int PARETO_OPTIMAL_WEIGHTED_METRICS_METHOD = 2;
    
    public static final double DEFAULT_DURATION_PSO = 1;
    public static final int MAXIM_WEIGHT_LOST_PER_MOUNTH = -4;
    public static final int MAXIM_WEIGHT_GAIN_PER_MOUNTH = 4;
    
    public static final int MINIM_VALUE_ACTIVITY_DURATION = 30;
    public static final int MAXIM_VALUE_ACTIVITY_DURATION = 90;
    
    public static final int DIET_NUMBER_GENERATED = 7;
    
    public static final String JESS_CONSTRAINT_METHOD ="Jess";
    public static final String XML_CONSTRAINT_MENTHOD ="XML";
    
    
    
    // constants for test
    
    public static final int PARTICLE_LIST_SIZE = 20;
    
    // ------------- Constants needed for Jess Module -------------------------
    public static final String RULES_FILE = "d:/reguli.clp";
    public static final String FACTS_FILE = "d:/fapte.clp";
	public static final String RUNTIME_FACTS_FILE = "d:/runtimeFacts.clp";
	public static final String REAL_LOCATION_RULES_FILE = "d:/pt utcn/workspace_licenta/procardio/procardio.common/jessFiles/reguli.clp";
	public static final String REAL_LOCATION_FACTS_FILE = "d:/pt utcn/workspace_licenta/procardio/procardio.common/jessFiles/fapte.clp";
	public static final String PSO_CONFIG_FILE_PATH = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/psoConfig.xml";
	public static final String CSO_CONFIG_FILE_PATH = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/csoConfig.xml";
	public static final String XML_RESULTS = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/result.xls";
	public static final String XML_RESULTS_CSO = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/resultCSO";
	public static final String DIABETES = "diabetes";
	public static final String CDV = "cdv";
	
	// ------------- Constants neede for clonal selection optimization --------------------
	public static final double TRESHOLD_OF_DISIMILARITY = 23;
	public static final int CLONAL_ANTIBODY_NUMBER = 100;
	public static final int CLONAL_ITERATION_NUMBER = 5;
//	public static final int CLONAL_NUMBER_SELECTION = 15;
	public static final int CLONAL_BETA_NUMBER = 1;
	public static final int CLONAL_ANTIBODY_CLONED_NUMBER = 30;
	
	public static final String BREAKFAST = "breakfast";
	public static final String LUNCH = "lunch";
	public static final String DINNER = "dinner";
	public static final String SNACK = "snack";
	
	// ------------- Constants needed for WEB Project -----------------
	public static final String LOG_IN_PAGE = "LogInPage.jsp";
	public static final String START_PAGE = "StartPage.jsp";
	public static final String DASHBOARD_PAGE = "Dashboard.jsp";
	public static final String EDIT_USER_PAGE = "EditUsersPage.jsp";
	public static final String INVALID_LOGIN_PAGE = "InvalidLoginPage.jsp";
	public static final String NOT_AUTHORIZATION_PAGE = "NotAuthorizationPage.jsp";
	public static final String USERS_PAGE = "UsersPage.jsp";
	
	public static final String PSO_TIMES_FILE_LOCATION = "d:/pt utcn/workspace_licenta/procardio/procardio.common/executionTimes/psoTimes.txt";
	public static final String CLONAL_TIMES_FILE_LOCATION = "d:/pt utcn/workspace_licenta/procardio/procardio.common/executionTimes/clonal.txt";
	
	// ------------ Constants needed for Charts --------------------
	public static final String MEAT = "meat";
	public static final String FRUIT = "fruit";
	public static final String VEGETABLE = "vegetable";
	public static final String MILK = "milk";
	public static final String GRAMINEA = "graminea";
	public static final String OTHER = "other";
	public static final String SOUP = "soup";
	public static final String MEAL = "meal";
	
	public static final String KALORY = "kalory";
	public static final String TOTAL_LIPIDE = "total_lipide";
	public static final String PROTEIN = "protein";
	public static final String CAROHYDRATE = "carbohydrate";

	
	public static final String PREFFERED_PHISICAL_ACT = "PhisicalActivity";
	
	
	public static final int EMPLOYEE_PAGINATION_NUMBER = 20;
	
	public static final String CLASSIFIER_EXCEL_RESULTS = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/clasifier_result.xls";
	public static final String PSO_EXCEL_INTERM_RESULTS = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/interm_result.xls";
	public static final String PSO_EXCEL_RESULTS = "d:/pt utcn/workspace_licenta/procardio/procardio.common/config/result.xls";
			
			
			
			
}
